package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库单对象 slyj_warehousing_entry
 *
 * @author tanshen
 * @date 2023-08-23
 */
@TableName("slyj_warehousing_entry")
@Data
public class WarehousingEntry {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 入库单号
     */
    @Excel(name = "入库单号")
    private String entryOrderId;

    /**
     * 采购部门
     */
    @Excel(name = "采购部门")
    private String procurementDepartment;

    /**
     * 使用部门
     */
    @Excel(name = "使用部门")
    private String userDepartment;

    /**
     * 到货单号
     */
    @Excel(name = "到货单号")
    private String deliveryId;

    /**
     * 业务员
     */
    @Excel(name = "业务员")
    private String salesman;

    /**
     * 工程项目
     */
    @Excel(name = "工程项目")
    private String project;

    /**
     * 仓库
     */
    @Excel(name = "仓库")
    private String warehouse;

    /**
     * 采购经办人
     */
    @Excel(name = "采购经办人")
    private String purchaser;

    /**
     * 合同编号
     */
    @Excel(name = "合同编号")
    private String contractId;

    /**
     * 审核员
     */
    @Excel(name = "审核员")
    private String reviewedBy;

    /**
     * 仓库主管
     */
    @Excel(name = "仓库主管")
    private String supervisor;

    /**
     * 仓管员
     */
    @Excel(name = "仓管员")
    private String storekeeper;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    private Long supplierId;

    @Excel(name = "备注")
    private String notes;
}
